package com.example.yjhticket.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.yjhticket.entity.Orders;
import com.example.yjhticket.entity.Tickets;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface OrdersMapper extends BaseMapper<Orders> {

    @Select("select * from tickets where ticket_id = ${id} ")
    Tickets getTicketsByd(@Param("id") String id);
}
